// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue'
import App from './App'
import router from './router'
import store from './store'
import request from '@/utils/request'
import config from '@/assets/js/config'
import '@/assets/css/reset.css'
import '@/assets/css/base.css'
Vue.config.productionTip = false

import ElementUI from 'element-ui'
import 'element-ui/lib/theme-chalk/index.css'
Vue.use(ElementUI)
import Antd from 'ant-design-vue'


import 'ant-design-vue/dist/antd.css'; // or 'ant-design-vue/dist/antd.less'
Vue.use(Antd)
import 'babel-polyfill';
// 定义全局变量
Vue.prototype.globalData = config
    // 定义请求方式
Vue.prototype.$http = request
    /* eslint-disable no-new */
new Vue({
        el: '#app',
        router,
        store,
        components: { App },
        template: '<App/>'
    })
    // 百度统计
import Echarts from 'echarts'
// import 'echarts/theme/macarons.js' //地图主题
// import 'echarts/theme/dark.js' //地图主题
Vue.prototype.$echarts = Echarts
Vue.use(Echarts)